<?php
session_start();
if(session_is_registered($_GET["user_id"])){}
else 
die("<a href='../index.php'>PLEASE LOGIN AGAIN... </a>");
?>


<script src="../lib/ajax_fnc.js" type="text/javascript" language="javascript"></script>
<script src="../lib/ajax_json.js" type="text/javascript"></script>

<?php
include("../classes/user.php");
include("../connect.php");

$user_id = $_GET["user_id"];
$user = new user();
$user->get_info($user_id);
$user->fillinfo();
$user->show_per_form();
?>